package com.zzzzzz.app.account.model.vo;

import org.springframework.web.multipart.commons.CommonsMultipartFile;

import com.zzzzzz.app.account.model.po.User;

public class EditUserPortraitVo {
	
	private String portrait;
	private CommonsMultipartFile fileData;

	public String getPortrait() {
		return portrait;
	}
	public void setPortrait(String portrait) {
		this.portrait = portrait;
	}
	public CommonsMultipartFile getFileData() {
		return fileData;
	}
	public void setFileData(CommonsMultipartFile fileData) {
		this.fileData = fileData;
	}
	public void fromPo(User user){
		setPortrait(user.getPortrait());
	}
	
}
